package com.yunxi.dealer.pojo;


import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import com.yunxi.sys.pojo.AttachVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 渠道商信息
 * </p>
 *
 * @author 
 * @since 2019-05-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Partner对象", description="渠道商信息")
public class ExportPartnerVO implements Serializable {

    @ApiModelProperty(value = "渠道商代码")
    private String partnerCode;

    @ApiModelProperty(value = "渠道商简称")
    private String partnerSimpleName;

    @ApiModelProperty(value = "渠道商名称")
    private String partnerName;

    @ApiModelProperty(value = "国家code")
    private String country;

    @ApiModelProperty(value = "国家name")
    private String countryName;

    @ApiModelProperty(value = "业务类型编号")
    private String businessCode;

    @ApiModelProperty(value = "渠道商业务类型名称")
    private String businessName;

    @ApiModelProperty(value = "伙伴类型编号(账户组)")
    private String accountGroupCode;

    @ApiModelProperty(value = "伙伴类型名称")
    private String accountGroupName;

    @ApiModelProperty(value = "销售模式code")
    private String accountPropCode;

    @ApiModelProperty(value = "销售模式名称")
    private String accountPropName;

    @ApiModelProperty(value = "归属销售组织")
    private String parentCompanyCode;

    @ApiModelProperty(value = "归属销售组织名称")
    private String companyName;

    @ApiModelProperty(value = "产品批售授权")
    private String productAuthCode;

    private String productAuthCodeJson;

    @ApiModelProperty(value = "邮政编码")
    private String postalCode;

    @ApiModelProperty(value = "省代码")
    private String province;

    @ApiModelProperty(value = "省")
    private String provinceName;

    @ApiModelProperty(value = "市代码")
    private String city;

    @ApiModelProperty(value = "市")
    private String cityName;

    @ApiModelProperty(value = "区代码")
    private String region;

    @ApiModelProperty(value = "区")
    private String regionName;

    @ApiModelProperty(value = "渠道商地址")
    private String addr;

    @ApiModelProperty(value = "大区")
    private String mainAreaCode;

    @ApiModelProperty(value = "大区")
    private String bigRegionName;

    @ApiModelProperty(value = "法人代表")
    private String legalPerson;

    @ApiModelProperty(value = "联系人")
    private String linkMan;

    @ApiModelProperty(value = "联系电话")
    private String linkPhone;

    @ApiModelProperty(value = "手机")
    private String mobilePhone;

    @ApiModelProperty(value = "渠道商级别")
    private String partnerLevel;

    @ApiModelProperty(value = "统一信用代码")
    private String unionCreditCode;

    @ApiModelProperty(value = "销售企业邮箱")
    private String entwepriseMailbox;

    @ApiModelProperty(value = "传真")
    private String fax;

    @ApiModelProperty(value = "验收人")
    private String checkPerson;

    @ApiModelProperty(value = "验收完成时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date checkTime;

    @ApiModelProperty(value = "是否自提")
    private String isAfhalen;

    @ApiModelProperty(value = "是否直送")
    private String isDirectSending;



    @ApiModelProperty(value = "二网代码")
    private String twoCode;

    @ApiModelProperty(value = "二网简称")
    private String twoSimpleName;

    @ApiModelProperty(value = "二网名称")
    private String twoName;

    @ApiModelProperty(value = "二网地址")
    private String twoAddr;


    @ApiModelProperty(value = "行政区划name")
    private String areaCodeWithName;

    @ApiModelProperty(value = "地址")
    private String storageAddr;

    @ApiModelProperty(value = "联系人")
    private String storageLinkMan;

    @ApiModelProperty(value = "联系电话")
    private String storageLinkPhone;


    @ApiModelProperty(value = "银行国家代码")
    private String bankCode;

    @ApiModelProperty(value = "银行编号")
    private String bankNo;

    @ApiModelProperty(value = "开户帐号")
    private String bankAccount;

    @ApiModelProperty(value = "帐户持有人姓名")
    private String bankHolder;

    @ApiModelProperty(value = "开户银行名称")
    private String bank;

    @ApiModelProperty(value = "银行邮箱")
    private String bankEmail;

    @ApiModelProperty(value = "银行地址")
    private String bankAdd;




    @ApiModelProperty(value = "创建时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "状态 1入网 2退网 3冻结")
    private Integer status;
}
